package se.webbzon.oschi01.gui;

import java.awt.Dimension;
import java.io.IOException;

import se.webbzon.oschi01.singleton.Singleton;

public class ApplicationIconSheet extends IconSheet<ApplicationIcon> implements Singleton  {
	
	private static final int iconWidth = 24, iconHeight = 24;
	
	private ApplicationIconSheet() throws IOException {
		super(	NBTIconSheet.class.getClass().getResource("/assets/Iconsheet.png"),
				new Dimension(iconWidth,iconHeight));
		
		for (ApplicationIcon i : ApplicationIcon.values()) {
			defineIcon(i,i.x,i.y);
		}
	}

}
